import { configureStore } from "@reduxjs/toolkit";
import appReducer from '@/store/appSlice'

const store = configureStore({
  reducer: {
    app: appReducer
  }
})

export type RootState = ReturnType<typeof store.getState>
export type AppDispatch = typeof store.dispatch

export default store